package com.rou.im.framework.core.request;

import com.rou.im.framework.core.Request;
import com.rou.im.framework.core.RequestVO;

/**
 * <p></p>
 *
 * @author GaoShuangWen
 * @since 2020-05-22 11:22
 */
public class ServiceRequest implements Request {

    private final RequestHeader requestHeader;

    private final Object requestBody;



    public ServiceRequest(RequestHeader requestHeader, Object requestBody) {
        this.requestHeader = requestHeader;
        this.requestBody = requestBody;

    }


    @Override
    public RequestHeader getRequestHeaders() {
        return requestHeader;
    }



    @Override
    public Object getRequestBody() {
        return requestBody;
    }
}
